package com.example.flower_shop.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "spring.mail")
@Data
public class MailProperties {
    /**
     * 邮件服务器主机名或IP地址
     */
    private String host;
    /**
     * 邮件服务器端口
     */
    private String port;
    /**
     * 邮件服务器用户名
     */
    private String username;
    /**
     * 邮件服务器授权码
     */
    private String password;
}
